class MessageEventEntity {
	String type;
	String value;
	String key;

	MessageEventEntity({this.type, this.value, this.key});

	MessageEventEntity.fromJson(Map<String, dynamic> json) {
		type = json['type'];
		value = json['value'];
		key = json['key'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['type'] = this.type;
		data['value'] = this.value;
		data['key'] = this.key;
		return data;
	}
}
